using System;
using System.Data;

namespace Transfer_Object_Tier
{
	#region Comments
	/// <summary>
	/// SYS_USER_RULE Class.
	/// </summary>
	/// <remarks>
	/// <h3>Changes</h3>
	/// <list type="table">
	/// 	<listheader>
	/// 		<th>Author</th>
	/// 		<th>Date</th>
	/// 		<th>Details</th>
	/// 	</listheader>
	/// 	<item>
	/// 		<term>eSolution Viet Nam -- esolution.vn</term>
	/// 		<description>12/21/2012</description>
	/// 		<description>Created</description>
	/// 	</item>
	/// </list>
	/// </remarks>
	#endregion

	[Serializable]
	public class SYS_USER_RULE
	{
		#region Construction
		/// <summary>
		/// Initializes a new (no-args) instance of the SYS_USER_RULE class.
		/// </summary>
		public SYS_USER_RULE()
		{
		}

		/// <summary>
		/// Initializes a new instance of the SYS_USER_RULE class.
		/// </summary>
		public SYS_USER_RULE(String Goup_ID, String Object_ID, String Rule_ID, Boolean AllowAdd, Boolean AllowDelete, Boolean AllowEdit, Boolean AllowAccess, Boolean AllowPrint, Boolean AllowExport, Boolean AllowImport, Boolean Active)
		{
			this.Goup_ID = Goup_ID;
			this.Object_ID = Object_ID;
			this.Rule_ID = Rule_ID;
			this.AllowAdd = AllowAdd;
			this.AllowDelete = AllowDelete;
			this.AllowEdit = AllowEdit;
			this.AllowAccess = AllowAccess;
			this.AllowPrint = AllowPrint;
			this.AllowExport = AllowExport;
			this.AllowImport = AllowImport;
			this.Active = Active;
		}
		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the Goup_ID value.
		/// </summary>
		public virtual String Goup_ID { get; set; }

		/// <summary>
		/// Gets or sets the Object_ID value.
		/// </summary>
		public virtual String Object_ID { get; set; }

		/// <summary>
		/// Gets or sets the Rule_ID value.
		/// </summary>
		public virtual String Rule_ID { get; set; }

		/// <summary>
		/// Gets or sets the AllowAdd value.
		/// </summary>
		public virtual Boolean AllowAdd { get; set; }

		/// <summary>
		/// Gets or sets the AllowDelete value.
		/// </summary>
		public virtual Boolean AllowDelete { get; set; }

		/// <summary>
		/// Gets or sets the AllowEdit value.
		/// </summary>
		public virtual Boolean AllowEdit { get; set; }

		/// <summary>
		/// Gets or sets the AllowAccess value.
		/// </summary>
		public virtual Boolean AllowAccess { get; set; }

		/// <summary>
		/// Gets or sets the AllowPrint value.
		/// </summary>
		public virtual Boolean AllowPrint { get; set; }

		/// <summary>
		/// Gets or sets the AllowExport value.
		/// </summary>
		public virtual Boolean AllowExport { get; set; }

		/// <summary>
		/// Gets or sets the AllowImport value.
		/// </summary>
		public virtual Boolean AllowImport { get; set; }

		/// <summary>
		/// Gets or sets the Active value.
		/// </summary>
		public virtual Boolean Active { get; set; }
		#endregion
	}
}